package equalstostring.exer;

/**
 * @author shkstart
 * @date 2022/5/14 - 17:51
 */
public class Test {
    public static void main(String[] args) {
        Circle c1 = new Circle(5.88);
        Circle c2 = new Circle(5.88,"white",2.0);

        System.out.println("颜色是否相等：" + c1.getColor().equals(c2.getColor()));//true

        System.out.println(c1.equals(c2));
        System.out.println(c1.toString());
    }
}
